package com.xuecheng.api.system;


import com.xuecheng.api.system.model.dto.CourseCategoryDTO;
import com.xuecheng.common.domain.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;


/**
 * 课程分类服务
 */
@Api(value = "CourseCategoryApi",description = "对课程分类服务操作",tags = "系统-课程分类服务")
public interface CourseCategoryApi {


    @ApiOperation("查询课程分类树形结构数据")
    @ApiImplicitParam(value = "queryCourseCategory")
    List<CourseCategoryDTO> queryCourseCategory();



    @ApiOperation("根据id查询课程分类信息")
    @ApiImplicitParam(name = "courseCategoryId",value = "课程分类id", required = true,paramType = "path",dataType = "String")
    RestResponse<CourseCategoryDTO>  queryCourseCategoryById(String id);
}
